package com.jiyun.statistical.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("transport")
public class Transport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日期
     */
    @TableId(value = "statistic_date", type = IdType.AUTO)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate statisticDate;

    /**
     * 总运单数量
     */
    private Integer totalOrders;

    /**
     * 异常运单数量
     */
    private Integer abnormalOrders;

    /**
     * 异常率
     */
    private BigDecimal abnormalRate;

    /**
     * 处理完成
     */
    private Integer completed;

    /**
     * 未处理
     */
    private Integer unprocessed;

    /**
     * 处理中
     */
    private Integer processing;

    /**
     * 完成率
     */
    private BigDecimal completionRate;

    /**
     * 平均处理时常
     */
    private String averageProcessingTime;


}
